package com.owen.he.jee.model;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamImplicit;

/**
 * @author owen.he
 * excel
 */
@XmlRootElement
@XStreamAlias("exportTemplate")
public class ExportTemplate implements Serializable{
	
	private static final long serialVersionUID = 1L;
	
	private String barName = "";//标题栏名称
	private String excelName = "";//excel文件名称,建议使用英文
	private int excelType = 1;//excel类型 1导出 0 导出
    private String borderStyle = "201:229:255";//标题的颜色值	格式为  R:G:B 例如 201:229:255
    
	@XStreamImplicit(itemFieldName="cell")  
	private List<CellTemplate> cell;//单个单元格
	
	public String getBarName() {
		return barName;
	}
	public void setBarName(String barName) {
		this.barName = barName;
	}
	public String getExcelName() {
		return excelName;
	}
	public void setExcelName(String excelName) {
		this.excelName = excelName;
	}
	public int getExcelType() {
		return excelType;
	}
	public void setExcelType(int excelType) {
		this.excelType = excelType;
	}
	public List<CellTemplate> getCell() {
		return cell;
	}
	public void setCell(List<CellTemplate> cell) {
		this.cell = cell;
	}
	public String getBorderStyle() {
		return borderStyle;
	}
	public void setBorderStyle(String borderStyle) {
		this.borderStyle = borderStyle;
	}
}
